package com.example.test.springdemo.service;

import com.example.test.springdemo.common.Result;
import com.example.test.springdemo.domain.AdminUser;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * #
 * #                       _oo0oo_
 * #                      o8888888o
 * #                      88" . "88
 * #                      (| -_- |)
 * #                      0\  =  /0
 * #                    ___/`---'\___
 * #                  .' \\|     |# '.
 * #                 / \\|||  :  |||# \
 * #                / _||||| -:- |||||- \
 * #               |   | \\\  -  #/ |   |
 * #               | \_|  ''\---/''  |_/ |
 * #               \  .-\__  '-'  ___/-. /
 * #             ___'. .'  /--.--\  `. .'___
 * #          ."" '<  `.___\_<|>_/___.' >' "".
 * #         | | :  `- \`.;`\ _ /`;.`/ - ` : | |
 * #         \  \ `_.   \_ __\ /__ _/   .-` /  /
 * #     =====`-.____`.___ \_____/___.-`___.-'=====
 * #                       `=---='
 * #
 * #
 * #     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 * #
 * #               佛祖保佑         永无BUG
 * #
 * #
 * #
 *
 * @author ：谭
 * @date ：Created in 2021/3/4
 * @version: V1.0
 * @slogan: 天下风云出我辈，一入代码岁月催
 * @description:
 **/
public interface AdminUserService {

    void addUser(AdminUser adminUser) ;

    void deleteUser(Long id);

    PageInfo pageList(Integer pageNow, Integer pageSize, String username);

    List<AdminUser> getAllUser(AdminUser adminUser);

    int update(AdminUser adminUser);

    Result selectRole();

    Result addRoles(Long id, Long[] ids);

    void insert(AdminUser adminUser);
}
